package com.itbaizhan.service.impl;

import com.itbaizhan.dao.OrderDao;
import com.itbaizhan.pojo.Order;
import com.itbaizhan.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author spf
 * @date 2024/3/8
 * @time 17:21
 */

@Repository
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public List<Order> getOrders(String user) {
        return orderDao.getOrder(user);
    }
}
